//
//  customNavigationController.m
//  IntroductionApp
//
//  Created by 英司 菅澤 on 12/02/15.
//  Copyright (c) 2012年 __MyCompanyName__. All rights reserved.
//

#import "customNavigationController.h"

// 内部クラスBarの色変え
@implementation UINavigationBar (UINavigationBarCategory)

- (void)drawRect:(CGRect)rect {
    if([[[ UIDevice currentDevice ] systemVersion] intValue] < 5.0){
        UIImage *image = [UIImage imageNamed: @"navigationBar.png"];
        [image drawInRect:CGRectMake(0, 0, self.frame.size.width, self.frame.size.height)];
    }
}

@end


@implementation customNavigationController

- (id)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self) {
        // Initialization code
    }
    return self;
}

@end
